function welcome(){
	return this;
}
var controlFns = {
	index : function(){
		var mSelf = this;
		//return mSelf.redirectTo('/user/login/', true);
		this.home();
	},
	home : function(arg){
		///welcome/home/10_1233
		//if (!this.req.__get.status) {
		//	this.req.__get.status = 0;
		//};
		//if (!this.req.__get.point) {
		//	this.req.__get.point = 0;
		//};
		//var page = this.readData('page',this.req.__get, 0)||0;
		var php = {
			'newlist' : 'store::/site/index'
		};
		var mSelf = this;
		this.setSDefault(php);
		this.bridgeMuch(php);
		this.listenOver(function(data){

			data.condition = this.req.__get;
			//console.log(data.condition);

			data.status = 'test';
			data.groupPg = {};
			data.groupPg.total_num = 2000;
			//data.groupPg.page_size = 10;
			//data.groupPg.current_page = page;

			data._CSSLinks = ['h5/css/welcome'];
			data._JSLinks  = ['h5/min/welcome'];
			data.pageTitle = '最新';
			mSelf.render('welcome/index.html', data);
		});
	},
	index_apis: function(params){
		var php = {
			'newlist' : 'store::/site/index'

		};
		this.ajaxTo(php[params]);
	}
};
exports.__create = controller.__create(welcome , controlFns);
